package com.oyjd.beauty.bean.vo;

import java.util.Date;
/**
 * 
 * 问题与解答值对象
 * 
 * @author <b>欧建东<br/>
 *         Email:oyjd@163.com</b>
 * @version 1.0
 */
public class QuestionVO {

	/**
	 * 主键
	 */
	private String id;

	/**
	 * 商品ID
	 */
	private String goodsId;

	/**
	 * 问题
	 */
	private String ask;

	/**
	 * 答案
	 */
	private String answer;

	/**
	 * 提问者
	 */
	private String askor;

	/**
	 * 提问时间
	 */
	private Date askTime;

	/**
	 * 解答者
	 */
	private String answeror;

	/**
	 * 解答时间
	 */
	private Date answerTime;

	public QuestionVO() {
		super();
	}

	public static final String STRUCT = "(question.id, question.goodsId, question.ask, question.answer, question.askor, question.askTime, question.answeror, question.answerTime)";

	public QuestionVO(String id, String goodsId, String ask, String answer, String askor, Date askTime, String answeror, Date answerTime) {
		super();
		this.id = id;
		this.goodsId = goodsId;
		this.ask = ask;
		this.answer = answer;
		this.askor = askor;
		this.askTime = askTime;
		this.answeror = answeror;
		this.answerTime = answerTime;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getGoodsId() {
		return goodsId;
	}

	public void setGoodsId(String goodsId) {
		this.goodsId = goodsId;
	}

	public String getAsk() {
		return ask;
	}

	public void setAsk(String ask) {
		this.ask = ask;
	}

	public String getAnswer() {
		return answer;
	}

	public void setAnswer(String answer) {
		this.answer = answer;
	}

	public String getAskor() {
		return askor;
	}

	public void setAskor(String askor) {
		this.askor = askor;
	}

	public Date getAskTime() {
		return askTime;
	}

	public void setAskTime(Date askTime) {
		this.askTime = askTime;
	}

	public String getAnsweror() {
		return answeror;
	}

	public void setAnsweror(String answeror) {
		this.answeror = answeror;
	}

	public Date getAnswerTime() {
		return answerTime;
	}

	public void setAnswerTime(Date answerTime) {
		this.answerTime = answerTime;
	}

}